#!/usr/bin/env python3
# -*- coding:UTF-8 -*-


# 自定义异常类
class MyException(Exception):
    __code = ''
    __msg = ''

    # 构造函数
    def __init__(self, value):
        self.value = value

    # 重写输出
    def __str__(self):
        return repr(self.value)
